Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@thi.ng/math
Advanced tools
This project is part of the @thi.ng/umbrella monorepo.
Assorted common math functions & utilities.
Partially ported from Clojure version of thi.ng/math and thi.ng/vexed-generation.
STABLE - used in production
yarn add @thi.ng/math
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/math?module" crossorigin></script>
// UMD
<script src="https://unpkg.com/@thi.ng/math/lib/index.umd.js" crossorigin></script>
Package sizes (gzipped, pre-treeshake): ESM: 3.48 KB / CJS: 4.02 KB / UMD: 3.30 KB
Several demos in this repo's /examples directory are using this package.
A selection:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Basic crypto-currency candle chart with multiple moving averages plots | Demo | Source | |
2D Bezier curve-guided particle system | Demo | Source | |
Animated sine plasma effect visualized using contour lines | Demo | Source | |
Worker based, interactive Mandelbrot visualization | Demo | Source | |
Unison wavetable synth with waveform editor | Demo | Source | |
2D scenegraph & shape picking | Demo | Source | |
2D scenegraph & image map based geometry manipulation | Demo | Source | |
Simplistic SVG bar chart component | Demo | Source |
TODO
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
FAQs
Assorted common math functions & utilities
The npm package @thi.ng/math receives a total of 9,455 weekly downloads. As such, @thi.ng/math popularity was classified as popular.
We found that @thi.ng/math demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.